local and global variables examples